package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.JZTCodeCirculation;
import com.tyqx.hashchainbean.vo.JZTCodeCirculationAndGS1VO;
import com.tyqx.hashchainbean.vo.JZTCodeCirculationVO;
import com.tyqx.hashchainbean.vo.JZTLogisticsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JZTCodeCirculationService {


    public Integer addJZTCodeCirculation(JZTCodeCirculation jztCodeCirculation);

    /*public List<JZTLogisticsVO> getJZTCodeCirculationByTraceabilityCode(List<String> traceabilityCodes);*/

    public List<JZTCodeCirculationVO> getJZTCodeCirculationByTraceabilityCode(List<String> traceabilityCodes,String userName);

    public List<JZTCodeCirculationAndGS1VO> getJZTCodeCirculationAndGS1ByTraceabilityCode(List<String> traceabilityCodes);

    public List<JZTCodeCirculationAndGS1VO> grantGetJZTCodeCirculationAndGS1ByTraceabilityCode(List<String> traceabilityCodes, String userName);

    public List<JZTCodeCirculationVO> getJZTJZTCodeCirculationByCode(String traceabilityCode);

    public Integer insertBatch(List<JZTCodeCirculation> jztCodeCirculationList);

}
